package com.ruoyi.location.repository.dao;

import com.ruoyi.location.repository.generator.entity.LocationReportRecord;
import org.apache.ibatis.annotations.Select;

public interface TeamDao {
    @Select("SELECT id,user_id as userId,latitude,longitude,report_time as reportTime,ctime FROM location_report_record WHERE user_id = #{userId} ORDER BY id DESC LIMIT 1")
    LocationReportRecord selectLatestByUserId(Long userId);
}
